#ifndef __AMT1450_UART_H
#define __AMT1450_UART_H
#include "stm32f4xx.h"


#define   AMT1450_uart   huart5

//#define FRAME_START 0xaa        // 帧头

typedef enum{
	AMT1450_FRAME_START = 0xaa,         // 帧头
}amt1450_UART_PROTOCOL_e;



typedef struct {
	uint8_t RxDataPtr;      // 接收数据指针
	uint8_t RxData[9];      // 接收到的数据
	uint8_t ValidData[9];   // 有效的数据
          
}amt1450_UART_Rx_t;


void Init_AMT1450_UART(void);
void Get_AMT1450Data_UART(uint8_t *begin_Color,uint8_t *jump_Count,uint8_t *jump_Location);
void AMT1450_Test_UART(uint8_t *begin_Color,uint8_t *jump_Count,uint8_t *jump_Location);


#endif
